<template>
  <div class="index-page">
    <pageHead title="修改密码"></pageHead>
    <ul class="flex">
      <li v-for="(item, index) in items" :key="index" @click="tabItem(index)">
        <img :src="item.src" alt="">
      </li>
    </ul>
  </div>
</template>

<script>
import pageHead from '@/components/include/header'
export default {
  components: { pageHead },
  data () {
    return {
      items: [
        {
          src: require('../include/img/list_ico1.png')
        },
        {
          src: require('../include/img/list_ico2.png')
        }
      ]
    }
  },
  mounted: function () {},
  methods: {
    tabItem: function (e) {
      this.$router.push({
        path: 'modificationItem/modify',
        query: {
          id: e
        }
      })
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
.index-page {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: #f3f3f3;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  ul {
    position: absolute;
    left: 0;
    top: .88rem;
    right: 0;
    bottom: 0;
    background: #fff;
    width: auto;
    height: auto;
    li {
      width: 3.3rem;
      margin-left: .3rem;
      margin-top: .3rem;
    }
  }
}
</style>
